#include "asm.h"
#include "regdef.h"
#include "inst_test.h"

LEAF(n9_xor_test)
    
    addi.w s0, s0 ,1
    li  s2, 0x00
###test inst
    TEST_XOR(0x1773df80, 0xb5af51d2, 0xa2dc8e52)
    TEST_XOR(0xe6223550, 0x909c98da, 0x76bead8a)
    TEST_XOR(0xf5c8a598, 0x25fd0240, 0xd035a7d8)
    TEST_XOR(0x24b53f20, 0x14d3aae8, 0x306695c8)
    TEST_XOR(0x59451f38, 0xe8aaf42b, 0xb1efeb13)
    TEST_XOR(0xca5b17a0, 0xcec70d58, 0x049c1af8)
    TEST_XOR(0x8b6a1e78, 0xa89e5ed2, 0x23f440aa)
    TEST_XOR(0x8a580190, 0xae39e660, 0x2461e7f0)
    TEST_XOR(0xdd3472f0, 0xc148dd08, 0x1c7caff8)
    TEST_XOR(0x525857e0, 0x94d67860, 0xc68e2f80)
    TEST_XOR(0xb61c2c40, 0xc15a0baa, 0x774627ea)
    TEST_XOR(0x034d1ee8, 0x2b927400, 0x28df6ae8)
    TEST_XOR(0xc8cdfb14, 0x701dd53e, 0xb8d02e2a)
    TEST_XOR(0x45056499, 0xda4345b0, 0x9f462129)
    TEST_XOR(0x04092050, 0x503c59c8, 0x54357998)
    TEST_XOR(0x3d88d700, 0x875dc450, 0xbad51350)
    TEST_XOR(0xbd81b180, 0x24608b97, 0x99e13a17)
    TEST_XOR(0xfa17e5c4, 0xf1a1e280, 0x0bb60744)
    TEST_XOR(0x1f260170, 0xe8d37370, 0xf7f57200)
    TEST_XOR(0xc3b5db06, 0x3283d4b8, 0xf1360fbe)
    TEST_XOR(0x4d2e3cf5, 0x30c8f34c, 0x7de6cfb9)
    TEST_XOR(0x0150f52c, 0x92006da0, 0x9350988c)
    TEST_XOR(0xa2f8049c, 0x6450fe88, 0xc6a8fa14)
    TEST_XOR(0xddce3250, 0xe1885c50, 0x3c466e00)
    TEST_XOR(0x0aae56ee, 0x293cef38, 0x2392b9d6)
    TEST_XOR(0xd61fd4fc, 0xdedf89c0, 0x08c05d3c)
    TEST_XOR(0xbc5cd3d4, 0x968937dc, 0x2ad5e408)
    TEST_XOR(0x209da902, 0x0d2e6670, 0x2db3cf72)
    TEST_XOR(0xb0355d94, 0x80c3074e, 0x30f65ada)
    TEST_XOR(0x09d20400, 0xa8d76bd4, 0xa1056fd4)
    TEST_XOR(0x43967908, 0x54261a60, 0x17b06368)
    TEST_XOR(0xe89f2de0, 0xdf13d0fe, 0x378cfd1e)
    TEST_XOR(0x77085d85, 0x681da2d8, 0x1f15ff5d)
    TEST_XOR(0x9db8e364, 0xe63a1d6e, 0x7b82fe0a)
    TEST_XOR(0x938c49b0, 0x145c7ab4, 0x87d03304)
    TEST_XOR(0xcd8da778, 0xa25ed184, 0x6fd376fc)
    TEST_XOR(0x37f7e234, 0x2c8dd326, 0x1b7a3112)
    TEST_XOR(0x95518bc8, 0x8128aec2, 0x1479250a)
    TEST_XOR(0x48dee180, 0x1ab67800, 0x52689980)
    TEST_XOR(0x13a79878, 0xb6e013ed, 0xa5478b95)
    TEST_XOR(0x7e736580, 0x7ed72b38, 0x00a44eb8)
    TEST_XOR(0x8294b7f0, 0xfe6e49c0, 0x7cfafe30)
    TEST_XOR(0xe2869800, 0x6ebfedc8, 0x8c3975c8)
    TEST_XOR(0xf0236538, 0x35be3f64, 0xc59d5a5c)
    TEST_XOR(0x341caff8, 0xf8b78280, 0xccab2d78)
    TEST_XOR(0x4c8e75a8, 0xf12bc790, 0xbda5b238)
    TEST_XOR(0x80337e43, 0x3d6fc838, 0xbd5cb67b)
    TEST_XOR(0xf318abd4, 0x891c2de6, 0x7a048632)
    TEST_XOR(0x130153e0, 0xcb18fd80, 0xd819ae60)
    TEST_XOR(0xd8f42882, 0xa3168c18, 0x7be2a49a)
    TEST_XOR(0x73873200, 0xa44967de, 0xd7ce55de)
    TEST_XOR(0xdfb11efe, 0x2c86fcd0, 0xf337e22e)
    TEST_XOR(0x65484ef0, 0xec9bb729, 0x89d3f9d9)
    TEST_XOR(0xbf020438, 0xeed12450, 0x51d32068)
    TEST_XOR(0x90174d14, 0xf9cb5a82, 0x69dc1796)
    TEST_XOR(0xe264b65e, 0x10025feb, 0xf266e9b5)
    TEST_XOR(0x3ded0c60, 0x58057200, 0x65e87e60)
    TEST_XOR(0xa855073a, 0x87d20ebe, 0x2f870984)
    TEST_XOR(0x1f1c21a8, 0xc7920290, 0xd88e2338)
    TEST_XOR(0xc9cd26e8, 0x46c43af9, 0x8f091c11)
    TEST_XOR(0xe59327b0, 0xa3938e2e, 0x4600a99e)
    TEST_XOR(0xf40872b8, 0x9568b900, 0x6160cbb8)
    TEST_XOR(0xd01d6af5, 0x2629e8cf, 0xf634823a)
    TEST_XOR(0x57bab6b8, 0xf2d2f47a, 0xa56842c2)
    TEST_XOR(0xcdaf13dc, 0x411ee0b8, 0x8cb1f364)
    TEST_XOR(0x7046d6ca, 0xc222ce00, 0xb26418ca)
    TEST_XOR(0x8e46ade8, 0x1d91c278, 0x93d76f90)
    TEST_XOR(0xc0948478, 0x48de9c04, 0x884a187c)
    TEST_XOR(0x1c5630ed, 0xcbde0ad1, 0xd7883a3c)
    TEST_XOR(0xa42f1877, 0x999cf000, 0x3db3e877)
    TEST_XOR(0x38815e76, 0x2e1f6db0, 0x169e33c6)
    TEST_XOR(0x02cace90, 0x9bf49850, 0x993e56c0)
    TEST_XOR(0xceb0092e, 0x4b08b7ec, 0x85b8bec2)
    TEST_XOR(0x774c7be0, 0xd115bc00, 0xa659c7e0)
    TEST_XOR(0xae28d030, 0xfe34c70b, 0x501c173b)
    TEST_XOR(0x48f14980, 0x063ed6f8, 0x4ecf9f78)
    TEST_XOR(0xceb239b8, 0xba267317, 0x74944aaf)
    TEST_XOR(0xcebaf5a8, 0x5256433c, 0x9cecb694)
    TEST_XOR(0xd3d6c800, 0xf3690660, 0x20bfce60)
    TEST_XOR(0x7072fb50, 0x275a13d4, 0x5728e884)
    TEST_XOR(0x0daf4e08, 0x8dc15e80, 0x806e1088)
    TEST_XOR(0x8ee6ca1c, 0x59671835, 0xd781d229)
    TEST_XOR(0x626e3d0c, 0xc61c7256, 0xa4724f5a)
    TEST_XOR(0xa2d92590, 0xf6eba59c, 0x5432800c)
    TEST_XOR(0x8f4b4392, 0x0c463d48, 0x830d7eda)
    TEST_XOR(0x4a45a924, 0x5652b610, 0x1c171f34)
    TEST_XOR(0x5016ccc0, 0x627da984, 0x326b6544)
    TEST_XOR(0x11e26bf2, 0x6b4f7f0c, 0x7aad14fe)
    TEST_XOR(0x0aa810f8, 0x255a409a, 0x2ff25062)
    TEST_XOR(0xe518e46a, 0xe34ee318, 0x06560772)
    TEST_XOR(0x3acc8ac4, 0x52e574a8, 0x6829fe6c)
    TEST_XOR(0x52e70cc0, 0xdd8f3b08, 0x8f6837c8)
    TEST_XOR(0xb70b4c48, 0x464435c0, 0xf14f7988)
    TEST_XOR(0xfee30fe0, 0xa97a6250, 0x57996db0)
    TEST_XOR(0x1fe12bd5, 0xfefbecc5, 0xe11ac710)
    TEST_XOR(0xd515843c, 0x7f6d24b4, 0xaa78a088)
    TEST_XOR(0xcab015b0, 0x63e00e40, 0xa9501bf0)
    TEST_XOR(0x52018740, 0xef6e20cc, 0xbd6fa78c)
    TEST_XOR(0x92f65d38, 0xa9324a80, 0x3bc417b8)
    TEST_XOR(0x039321a2, 0x656a6929, 0x66f9488b)
    TEST_XOR(0x979ae176, 0x08a7f9a4, 0x9f3d18d2)
    TEST_XOR(0xd8bdce58, 0xa818a664, 0x70a5683c)
    TEST_XOR(0xece533f0, 0x9322f2a8, 0x7fc7c158)
    TEST_XOR(0x9a2a5b8b, 0xc4038e8e, 0x5e29d505)
    TEST_XOR(0x44e4fc98, 0x946f6cb2, 0xd08b902a)
    TEST_XOR(0x3cec52fc, 0x86d0799f, 0xba3c2b63)
    TEST_XOR(0x1ec7ae70, 0x35c6e91a, 0x2b01476a)
    TEST_XOR(0x4da93b5e, 0xece36e04, 0xa14a555a)
    TEST_XOR(0xc2721c7b, 0x3453b32e, 0xf621af55)
    TEST_XOR(0xaf7a12d8, 0x4021008c, 0xef5b1254)
    TEST_XOR(0x1b59edf0, 0xcafc1754, 0xd1a5faa4)
    TEST_XOR(0xe7bd7752, 0xff1d02b8, 0x18a075ea)
    TEST_XOR(0x7e12a3fc, 0x75bbc9e7, 0x0ba96a1b)
    TEST_XOR(0x96756580, 0xd4ccd960, 0x42b9bce0)
    TEST_XOR(0xd11078c0, 0xd2f45c20, 0x03e424e0)
    TEST_XOR(0xa337d9ae, 0xf7023ce0, 0x5435e54e)
    TEST_XOR(0x98bddbc4, 0xd7bb5a80, 0x4f068144)
    TEST_XOR(0x7b10de60, 0x6bbee859, 0x10ae3639)
    TEST_XOR(0xcea74b40, 0xfdf63eb4, 0x335175f4)
    TEST_XOR(0xef3450a3, 0x2351eb6c, 0xcc65bbcf)
    TEST_XOR(0x3811aac0, 0x08f105f0, 0x30e0af30)
    TEST_XOR(0x6a9164a8, 0xa1a151f0, 0xcb303558)
    TEST_XOR(0x1626629c, 0x60163b2b, 0x763059b7)
    TEST_XOR(0xff1c6994, 0x8403e5f4, 0x7b1f8c60)
    TEST_XOR(0x67efe980, 0xcbe2ddc8, 0xac0d3448)
    TEST_XOR(0x2d07a22c, 0xec0a8100, 0xc10d232c)
    TEST_XOR(0x0ea2bd16, 0xb78bfb80, 0xb9294696)
    TEST_XOR(0x24924d30, 0xf306ff74, 0xd794b244)
    TEST_XOR(0xaacbf870, 0x17c52bc0, 0xbd0ed3b0)
    TEST_XOR(0x45b89ee0, 0x6d1e298c, 0x28a6b76c)
    TEST_XOR(0xe9764bb6, 0x960167b0, 0x7f772c06)
    TEST_XOR(0xbaba14a5, 0xb8d400e0, 0x026e1445)
    TEST_XOR(0x8e0e3712, 0xe4fb483c, 0x6af57f2e)
    TEST_XOR(0x33d13740, 0x73bd816e, 0x406cb62e)
    TEST_XOR(0x7e22aef4, 0x18016a00, 0x6623c4f4)
    TEST_XOR(0xeffdd900, 0x2e8d4aa0, 0xc17093a0)
    TEST_XOR(0x08e27919, 0x643db550, 0x6cdfcc49)
    TEST_XOR(0x6b224cc8, 0x40c68c68, 0x2be4c0a0)
    TEST_XOR(0xabfea0ac, 0x3400763e, 0x9ffed692)
    TEST_XOR(0xa441cf33, 0xc4e38fcc, 0x60a240ff)
    TEST_XOR(0x3613d240, 0xb5bb2088, 0x83a8f2c8)
    TEST_XOR(0xbf23c6d0, 0x3bdb3802, 0x84f8fed2)
    TEST_XOR(0x3ead6d74, 0x904b6f66, 0xaee60212)
    TEST_XOR(0xf4db914c, 0xedafdd9e, 0x19744cd2)
    TEST_XOR(0x9f719840, 0xf7137588, 0x6862edc8)
    TEST_XOR(0x03a0d450, 0x1ec81ee8, 0x1d68cab8)
    TEST_XOR(0x74b15e02, 0x55eb8d05, 0x215ad307)
    TEST_XOR(0xa96b1717, 0xdb419cb0, 0x722a8ba7)
    TEST_XOR(0x9fe4c23e, 0xacf11c91, 0x3315deaf)
    TEST_XOR(0x037b3588, 0x93c6b62e, 0x90bd83a6)
    TEST_XOR(0x8350bd9e, 0x5b28fc94, 0xd878410a)
    TEST_XOR(0xe9af2fa0, 0xc77871fa, 0x2ed75e5a)
    TEST_XOR(0xd49fade8, 0x96157a50, 0x428ad7b8)
    TEST_XOR(0xbd84e1ef, 0x740939e0, 0xc98dd80f)
    TEST_XOR(0x5018b058, 0x405be198, 0x104351c0)
    TEST_XOR(0xa5930935, 0xfe350be8, 0x5ba602dd)
    TEST_XOR(0x51afb266, 0xc976bae0, 0x98d90886)
    TEST_XOR(0x70d0dacc, 0x90827cd4, 0xe052a618)
    TEST_XOR(0xbdc9d980, 0xd67b349f, 0x6bb2ed1f)
    TEST_XOR(0xdb020fe0, 0xbb7e3638, 0x607c39d8)
    TEST_XOR(0x85dc9c1b, 0xbac6aaf9, 0x3f1a36e2)
    TEST_XOR(0x0d863c28, 0x83b61b6b, 0x8e302743)
    TEST_XOR(0x08a75543, 0xea108c48, 0xe2b7d90b)
    TEST_XOR(0x61f35dd8, 0x69d78dd6, 0x0824d00e)
    TEST_XOR(0x87a496d0, 0x4b712450, 0xccd5b280)
    TEST_XOR(0x8b042888, 0x05c43200, 0x8ec01a88)
    TEST_XOR(0x20613670, 0x82c0e238, 0xa2a1d448)
    TEST_XOR(0x3578c9de, 0xd7055780, 0xe27d9e5e)
    TEST_XOR(0x39bc2a00, 0x16787e00, 0x2fc45400)
    TEST_XOR(0xcc026df0, 0x52cba760, 0x9ec9ca90)
    TEST_XOR(0x48630bd4, 0xf58641c8, 0xbde54a1c)
    TEST_XOR(0x29cdf640, 0xac85192e, 0x8548ef6e)
    TEST_XOR(0x48ec8bb0, 0x793bf950, 0x31d772e0)
    TEST_XOR(0xf45640de, 0xecc34331, 0x189503ef)
    TEST_XOR(0xfe0db400, 0xedc8e6a0, 0x13c552a0)
    TEST_XOR(0x1a059fa8, 0xfb494040, 0xe14cdfe8)
    TEST_XOR(0x3f4bd678, 0x26fe7cd0, 0x19b5aaa8)
    TEST_XOR(0x720ed744, 0x0d798bc8, 0x7f775c8c)
    TEST_XOR(0x80ff6b98, 0x33c8bca0, 0xb337d738)
    TEST_XOR(0x43577178, 0x9067e048, 0xd3309130)
    TEST_XOR(0x16a10890, 0x7e298410, 0x68888c80)
    TEST_XOR(0xd54afa9c, 0xf86f11c6, 0x2d25eb5a)
    TEST_XOR(0xdb2cb600, 0x4293f9ee, 0x99bf4fee)
    TEST_XOR(0x8ca5d672, 0xdacbd006, 0x566e0674)
    TEST_XOR(0xb7d7e885, 0x53ea66e8, 0xe43d8e6d)
    TEST_XOR(0x977df75c, 0x6ef98a00, 0xf9847d5c)
    TEST_XOR(0x710648b8, 0xeac0b5ca, 0x9bc6fd72)
    TEST_XOR(0xfe1443eb, 0x99a7cb17, 0x67b388fc)
    TEST_XOR(0x9ece278d, 0xc0dea702, 0x5e10808f)
    TEST_XOR(0x8072b77c, 0x468b26f6, 0xc6f9918a)
    TEST_XOR(0xa23ce9f8, 0xdfd58adc, 0x7de96324)
    TEST_XOR(0x55cdd2f8, 0xa00745a2, 0xf5ca975a)
    TEST_XOR(0xcde9aa28, 0xdecfc40d, 0x13266e25)
    TEST_XOR(0x96f80280, 0x31a8b5c8, 0xa750b748)
    TEST_XOR(0x51851e40, 0x93118808, 0xc2949648)
    TEST_XOR(0x443c8692, 0x26c6df34, 0x62fa59a6)
    TEST_XOR(0x12f07438, 0xa57329d0, 0xb7835de8)
    TEST_XOR(0xf4cfe0c4, 0xe2d35c34, 0x161cbcf0)
    TEST_XOR(0x2f1f3be4, 0xd1ac3e30, 0xfeb305d4)
    TEST_XOR(0x1baadbb0, 0x4ca6a168, 0x570c7ad8)
    TEST_XOR(0xfc13a670, 0x00000000, 0xfc13a670)
    TEST_XOR(0x69701f84, 0x00000000, 0x69701f84)
    TEST_XOR(0x3bdc1a6e, 0x00000000, 0x3bdc1a6e)
    TEST_XOR(0x4a2022a2, 0x00000000, 0x4a2022a2)
    TEST_XOR(0x7c1b1d00, 0x00000000, 0x7c1b1d00)
    TEST_XOR(0x15c5cc10, 0x00000000, 0x15c5cc10)
    TEST_XOR(0x7f157c7a, 0x00000000, 0x7f157c7a)
    TEST_XOR(0x0010e998, 0x00000000, 0x0010e998)
    TEST_XOR(0x0d0588d0, 0x00000000, 0x0d0588d0)
    TEST_XOR(0x21b3a3a8, 0x00000000, 0x21b3a3a8)
    TEST_XOR(0x240721c8, 0x00000000, 0x240721c8)
    TEST_XOR(0xf6788a98, 0x00000000, 0xf6788a98)
    TEST_XOR(0x848412d0, 0x00000000, 0x848412d0)
    TEST_XOR(0xcef7fec0, 0x00000000, 0xcef7fec0)
    TEST_XOR(0x9c43a170, 0x00000000, 0x9c43a170)
    TEST_XOR(0x2decc712, 0x00000000, 0x2decc712)
    TEST_XOR(0xcb532c80, 0x00000000, 0xcb532c80)
    TEST_XOR(0x9e807460, 0x00000000, 0x9e807460)
    TEST_XOR(0x0777059a, 0x00000000, 0x0777059a)
    TEST_XOR(0x8d3b10c9, 0x00000000, 0x8d3b10c9)
    TEST_XOR(0xbf49f600, 0x00000000, 0xbf49f600)
    TEST_XOR(0xb7513ec8, 0x00000000, 0xb7513ec8)
    TEST_XOR(0x89db72c8, 0x00000000, 0x89db72c8)
    TEST_XOR(0xdf0fcdc8, 0x00000000, 0xdf0fcdc8)
    TEST_XOR(0x305ba45c, 0x00000000, 0x305ba45c)
    TEST_XOR(0x5458de98, 0x00000000, 0x5458de98)
    TEST_XOR(0x6becc62a, 0x00000000, 0x6becc62a)
    TEST_XOR(0x832b9c18, 0x00000000, 0x832b9c18)
    TEST_XOR(0xe8ac8e99, 0x00000000, 0xe8ac8e99)
    TEST_XOR(0xe8d3d334, 0x00000000, 0xe8d3d334)
    TEST_XOR(0xa960fc48, 0x00000000, 0xa960fc48)
    TEST_XOR(0x071d4c6a, 0x00000000, 0x071d4c6a)
    TEST_XOR(0x68d02448, 0x00000000, 0x68d02448)
    TEST_XOR(0xef896e40, 0x00000000, 0xef896e40)
    TEST_XOR(0x350d3c92, 0x00000000, 0x350d3c92)
    TEST_XOR(0x61f73e10, 0x00000000, 0x61f73e10)
    TEST_XOR(0x53901b70, 0x00000000, 0x53901b70)
    TEST_XOR(0x347073a8, 0x00000000, 0x347073a8)
    TEST_XOR(0xe3af0cf8, 0x00000000, 0xe3af0cf8)
    TEST_XOR(0xf92182dc, 0x00000000, 0xf92182dc)
    TEST_XOR(0x11455e30, 0x00000000, 0x11455e30)
    TEST_XOR(0xe6ce8fc8, 0x00000000, 0xe6ce8fc8)
    TEST_XOR(0xb3c56041, 0x00000000, 0xb3c56041)
    TEST_XOR(0x9795c88c, 0x00000000, 0x9795c88c)
    TEST_XOR(0x28d3aa6a, 0x00000000, 0x28d3aa6a)
    TEST_XOR(0x7fa7123c, 0x00000000, 0x7fa7123c)
    TEST_XOR(0x28aeccb8, 0x00000000, 0x28aeccb8)
    TEST_XOR(0x455074a0, 0x00000000, 0x455074a0)
    TEST_XOR(0x80e3eef6, 0x00000000, 0x80e3eef6)
    TEST_XOR(0xd35952a0, 0x00000000, 0xd35952a0)
    TEST_XOR(0x00000000, 0xf3b42473, 0xf3b42473)
    TEST_XOR(0x00000000, 0xe7793fc8, 0xe7793fc8)
    TEST_XOR(0x00000000, 0xdc880500, 0xdc880500)
    TEST_XOR(0x00000000, 0x377b3360, 0x377b3360)
    TEST_XOR(0x00000000, 0x53a80660, 0x53a80660)
    TEST_XOR(0x00000000, 0x1b3c4898, 0x1b3c4898)
    TEST_XOR(0x00000000, 0xfcf7f6e0, 0xfcf7f6e0)
    TEST_XOR(0x00000000, 0x0b7c6a3d, 0x0b7c6a3d)
    TEST_XOR(0x00000000, 0x28ca8e70, 0x28ca8e70)
    TEST_XOR(0x00000000, 0x32c66b65, 0x32c66b65)
    TEST_XOR(0x00000000, 0xa5be345e, 0xa5be345e)
    TEST_XOR(0x00000000, 0x9a0bc290, 0x9a0bc290)
    TEST_XOR(0x00000000, 0x0c0b1a60, 0x0c0b1a60)
    TEST_XOR(0x00000000, 0x0672fe64, 0x0672fe64)
    TEST_XOR(0x00000000, 0x7fe91230, 0x7fe91230)
    TEST_XOR(0x00000000, 0xd53e0792, 0xd53e0792)
    TEST_XOR(0x00000000, 0x6d58a790, 0x6d58a790)
    TEST_XOR(0x00000000, 0x2f2a54b8, 0x2f2a54b8)
    TEST_XOR(0x00000000, 0xc7430860, 0xc7430860)
    TEST_XOR(0x00000000, 0x2ced9e9b, 0x2ced9e9b)
    TEST_XOR(0x00000000, 0xcdeb9c00, 0xcdeb9c00)
    TEST_XOR(0x00000000, 0x5fce41e4, 0x5fce41e4)
    TEST_XOR(0x00000000, 0x00dea100, 0x00dea100)
    TEST_XOR(0x00000000, 0x9a4324f9, 0x9a4324f9)
    TEST_XOR(0x00000000, 0xfff99640, 0xfff99640)
    TEST_XOR(0x00000000, 0x1c7ebc30, 0x1c7ebc30)
    TEST_XOR(0x00000000, 0xc3eae940, 0xc3eae940)
    TEST_XOR(0x00000000, 0x6694692c, 0x6694692c)
    TEST_XOR(0x00000000, 0xec23355a, 0xec23355a)
    TEST_XOR(0x00000000, 0xcfdb9258, 0xcfdb9258)
    TEST_XOR(0x00000000, 0xf4619868, 0xf4619868)
    TEST_XOR(0x00000000, 0x8c3a6498, 0x8c3a6498)
    TEST_XOR(0x00000000, 0x21808f90, 0x21808f90)
    TEST_XOR(0x00000000, 0xcd471c30, 0xcd471c30)
    TEST_XOR(0x00000000, 0x980cb63c, 0x980cb63c)
    TEST_XOR(0x00000000, 0xf95c1c68, 0xf95c1c68)
    TEST_XOR(0x00000000, 0xb86cacf0, 0xb86cacf0)
    TEST_XOR(0x00000000, 0x9f86dfbe, 0x9f86dfbe)
    TEST_XOR(0x00000000, 0xe2393cc6, 0xe2393cc6)
    TEST_XOR(0x00000000, 0x28f38f80, 0x28f38f80)
    TEST_XOR(0x00000000, 0xe71a1600, 0xe71a1600)
    TEST_XOR(0x00000000, 0xb78065c0, 0xb78065c0)
    TEST_XOR(0x00000000, 0xae5701fc, 0xae5701fc)
    TEST_XOR(0x00000000, 0xcc79acfe, 0xcc79acfe)
    TEST_XOR(0x00000000, 0x6cfc614a, 0x6cfc614a)
    TEST_XOR(0x00000000, 0x0c2acef6, 0x0c2acef6)
    TEST_XOR(0x00000000, 0xfced35ce, 0xfced35ce)
    TEST_XOR(0x00000000, 0xa3288960, 0xa3288960)
    TEST_XOR(0x00000000, 0xc67e946c, 0xc67e946c)
    TEST_XOR(0x00000000, 0xb6a8c6f0, 0xb6a8c6f0)
    TEST_XOR(0x00000000, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
    nop
###score ++
    addi.w s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    slli.w t1, s0, 24
    NOP4
    or t0, t1, s3 
    NOP4
    st.w t0, s1, 0
    jirl zero, ra, 0
    nop
END(n9_xor_test)
